package org.imdm.portal.loadchecker.ui;

import org.imdm.portal.util.StringValueComparator;
import org.imdm.portal.loadchecker.ui.LoadInfo;

public class ServerComparator extends StringValueComparator {

	public ServerComparator(boolean asc) {
		super(asc);
	}

	@Override
	protected String getStringValue(Object o) {
		java.util.Map.Entry entry = (java.util.Map.Entry)o;
		LoadInfo li = (LoadInfo)entry.getValue();
		return li.getServer();
	}
}
